package system;

import java.io.IOException;

import java.net.MalformedURLException;

import javax.management.MBeanServerConnection;
import javax.management.ObjectName;

public class ManageUserAttribute {
    
    public MBeanServerConnection connection = null;
    public ObjectName service = null;
    
    public ManageUserAttribute() {
        super();
        try {
            connection = ManageWeblogic.initConnection();
            service =
                    ManageWeblogic.getAuthenticationProviderObjectName(ManageWeblogic.MBEAN_USERGROUP_INTERFACE);
        } catch (MalformedURLException e) {
            System.out.println(e.getMessage());
        } catch (IOException e) {
            System.out.println(e.getMessage());
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }
}
